<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Webcat</title>
<meta name="keywords" content="${siteConfig.title}"/>
<meta name="description" content="${siteConfig.title}"/>
<meta name="robots" content="all"/>
<meta name="googlebot" content="all"/>
<meta name="baiduspider" content="all"/>
<meta name="copyright" content="${HtmlUtil.remove(siteConfig.copyright)}"/>
<link rel="shortcut icon" href="${contextPath}/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="${contextPath}/resource/widget/css/widget.css"/>
<link rel="stylesheet" type="text/css" href="${contextPath}/resource/codemirror-5.21.0/lib/codemirror.css"/>
<link rel="stylesheet" type="text/css" href="${contextPath}/resource/codemirror-5.21.0/theme/mysql.css"/>
<script type="text/javascript" src="${contextPath}/resource/codemirror-5.21.0/lib/codemirror.js"></script>
<script type="text/javascript" src="${contextPath}/resource/codemirror-5.21.0/mode/sql/sql.js"></script>
<script type="text/javascript" src="${contextPath}/resource/widget/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${contextPath}/resource/widget/widget.js"></script>
<script type="text/javascript" src="${contextPath}/resource/webcat/webcat.js"></script>
<script type="text/javascript" src="${contextPath}/resource/webcat/sqlplus.js"></script>
<script type="text/javascript" src="${contextPath}/resource/webcat/oracle/tablespace.js"></script>
</head>
<body style="overflow: hidden;">
<div class="tab-component">
    <div class="tab-label-wrap">
        <ul>
            <li class="tab-label tab-active"><span class="label">新建表空间</span></li>
        </ul>
    </div>
    <div class="tab-panel-wrap">
        <div class="panel">
            <div class="menu-bar">
                <a id="create-btn" class="button">创 建</a>
            </div>
        </div>
        <div>
            <form name="userForm">
            <table class="form">
                <tr class="head">
                    <td class="bb" colspan="4">新建表空间</td>
                </tr>
                <tr>
                    <td class="w100">表空间名称:</td>
                    <td class="w400">
                        <input name="tableSpaceName" type="text" class="text" value="test1"/>
                        <span class="red">*</span>
                    </td>
                    <td class="w100">表空间类型:</td>
                    <td>
                        <input name="tableSpaceType" type="checkbox" checked="true" value="default"/> 默认表空间
                        <input name="tableSpaceType" type="checkbox" checked="true" value="temporary"/> 临时表空间
                    </td>
                </tr>
                <tr class="head">
                    <td class="bb" colspan="4">表空间文件</td>
                </tr>
                <tr>
                    <td class="w100">表空间文件:</td>
                    <td colspan="3">
                        <!-- D:\oracle\product\11.1.0\db_1 -->
                        <input name="dataFile" type="text" class="w500 text" value="%ORACLE_HOME%\db_1\oradata\test1\xxxx.dbf"/>
                        请将<span class="red">%ORACLE_HOME%</span>替换为Oracle的安装目录。
                    </td>
                </tr>
                <tr>
                    <td class="w100">InitSize:</td>
                    <td>
                        <input name="initSize" type="text" class="text" value="1024"/> (M)
                        <span class="red">*</span>
                    </td>
                    </td>
                    <td class="w100">AutoExtend:</td>
                    <td>
                        <input name="autoExtend" type="checkbox" checked="true" value="true"/>
                    </td>
                </tr>
                <tr>
                    <td class="w100">NextExtend:</td>
                    <td>
                        <input name="nextExtend" type="text" class="text" value="2048"/> (M)
                    </td>
                    <td class="w100">MaxSize:</td>
                    <td>
                        <input name="maxSize" type="text" class="text" value="20480"/> (M)
                    </td>
                </tr>
                <tr>
                    <td class="w100">Management:</td>
                    <td colspan="3">
                        <input name="management" type="radio" value="Auto"/> Auto
                        <input name="management" type="radio" checked="true" value="Local"/> Local
                        <input name="management" type="radio" value="Manual"/> Manual
                    </td>
                </tr>
            </table>
            </form>
            <div style="height: 400px; overflow: scroll;">
            <table class="list">
                <tr class="head">
                    <td class="w200">名称</td>
                    <td class="w300">路径</td>
                    <td class="w100">大小</td>
                    <td class="w60">重用</td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td><input name="name" type="text" class="text2" spellcheck="false" value="test1"/></td>
                    <td>D:\oracle\product\11.1.0\db_1</td>
                    <td class="center">2048 M</td>
                    <td class="center"><input name="name" type="checkbox" value=""/></td>
                    <td>&nbsp;</td>
                </tr>
            </table>
            </div>
        </div>
    </div>
</div>
<div id="alter-panel" class="frame hide" style="position: absolute; top: 70px; left: 20px;">
    <div class="panel">
        <div class="panel-title" dragable="true">
            <h4>Alter Sql</h4>
            <span class="close"></span>
        </div>
        <div class="menu-bar">
            <a class="button select" href="javascript:void(0)">全 选</a>
        </div>
        <div class="panel-content" style="width: 800px; overflow: hidden; cursor: default;">
            <pre class="sql-editor" style="width: 790px; height: 240px;" spellcheck="false" contenteditable="true"></pre>
            <div class="operator">
                <input type="button" class="button ensure" value="执 行"/>
                <input type="button" class="button cancel" value="取 消"/>
            </div>
        </div>
    </div>
</div>
<div id="pageContext" class="hide" contextPath="${contextPath}" connectionName="${name}"></div>
<%@include file="/include/common/footer.jsp"%>
<!-- ${pageInfo.home}${pageInfo.path} -->
</body>
</html>
